<?php
$server="localhost";
$name="root";
$pwd="123456";
$db="abcd";

$con=mysqli_connect($server,$name,$pwd,$db);
$id=$_GET['id'];
$sql="delete from abc where id=" .$id;
$go=mysqli_query($con,$sql);
if ($go){
    echo "删除成功";

}else{
    echo "删除失败" .mysqli_connect_error();
}
